package com.bridgeintelligent.tag.webserver.workflow;

import com.github.pagehelper.Page;

import java.util.List;

public interface ApproverService {
    Instance fetchOne(String instanceId);

    Page<Instance> fetchAll(String workflowId, boolean containsDeleted, Integer pageNum, Integer pageSize);

    Instance pass(String instanceId);

    Instance ccisPass(String instanceId,String approverId,String approverName);

    Instance reject(String instanceId, String desc);

    Instance ccisReject(String instanceId, String desc,String approverId,String approverName);

    List<History> findOperationRecord(String resourceId);
}
